package com.example.user.mapper;


import com.example.user.entity.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CommentMapper {
    List<Comment> selectCommentPage(@Param("activityId") Integer activityId);

    int addComment(@Param("comment") Comment comment);
}
